package org.shop.pro.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.shop.pro.entity.User;
import org.shop.pro.entity.Vip;
@Mapper
public interface VipMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Vip record);

    Vip selectByPrimaryKey(Integer id);

    List<Vip> selectAll();

    int updateByPrimaryKey(Vip record);
    
    Vip login(@Param("username")String username,@Param("password")int password);
}